package com.ruoyi.system.service.impl;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.domain.DevPrastructDef;
import com.ruoyi.system.mapper.DevPrastructDefMapper;
import com.ruoyi.system.service.DevPrastructDefService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DevPrastructDefServiceImpl implements DevPrastructDefService {
    @Autowired
    private DevPrastructDefMapper devPrastructDefMapper;

    @Override
    public List<DevPrastructDef> ListDef(DevPrastructDef devPrastructDef) {
        return devPrastructDefMapper.ListDef(devPrastructDef);
    }

    @Override
    public int insterDef(DevPrastructDef devPrastructDef) {
        return devPrastructDefMapper.insterDef(devPrastructDef);
    }

    @Override
    public List<DevPrastructDef> list(DevPrastructDef devPrastructDef) {
        return devPrastructDefMapper.list(devPrastructDef);
    }

    @Override
    public int updateDef(DevPrastructDef devPrastructDef) {
        return devPrastructDefMapper.updateDef(devPrastructDef);
    }

    @Override
    public int deleteDef(Integer id) {
        return devPrastructDefMapper.deleteDef(id);
    }

    @Override
    public DevPrastructDef selectno1(Integer paraNo1) {
        return devPrastructDefMapper.selectno1(paraNo1);
    }

}
